/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package unc.pds.data;

/**
 *
 * @author AIN
 */
public class RoleMap {
    public static String PERMISSION_DIARY_WRITE = "diary.write";
    public static String DEF_PERMISSION_DIARY_WRITE = "owner";
    public static boolean ANON_PERMISSION_DIARY_WRITE = false;

    public static String PERMISSION_DIARY_READ = "diary.read";
    public static String DEF_PERMISSION_DIARY_READ = "any";
    public static boolean ANON_PERMISSION_DIARY_READ = true;

    public static String PERMISSION_DIARY_CREATE = "diary.create";
    public static String DEF_PERMISSION_DIARY_CREATE = "owner";
    public static boolean ANON_PERMISSION_DIARY_CREATE = false;

    public static String PERMISSION_DIARY_DELETE = "diary.delete";
    public static String DEF_PERMISSION_DIARY_DELETE = "owner";
    public static boolean ANON_PERMISSION_DIARY_DELETE = false;


    public static String PERMISSION_COMMENT_WRITE = "comment.write";
    public static String DEF_PERMISSION_COMMENT_WRITE = "owner";
    public static boolean ANON_PERMISSION_COMMENT_WRITE = false;

    public static String PERMISSION_COMMENT_READ = "comment.read";
    public static String DEF_PERMISSION_COMMENT_READ = "any";
    public static boolean ANON_PERMISSION_COMMENT_READ = true;

    public static String PERMISSION_COMMENT_CREATE = "comment.create";
    public static String DEF_PERMISSION_COMMENT_CREATE = "friend";
    public static boolean ANON_PERMISSION_COMMENT_CREATE = false;

    public static String PERMISSION_COMMENT_DELETE = "comment.delete";
    public static String DEF_PERMISSION_COMMENT_DELETE = "owner";
    public static boolean ANON_PERMISSION_COMMENT_DELETE = false;

}
